export default {
  "panels": [{
    "index": 0,
    "name": 1,
    "height": 100,
    "width": 90,
    "paperHeader": 0,
    "paperFooter": 277.49999999999994,
    "printElements": [{
      "options": {
        "left": 195,
        "top": 10,
        "height": 15,
        "width": 50,
        "title": "Ver:01",
        "right": 265.2421875,
        "bottom": 20.7421875,
        "vCenter": 247.9921875,
        "hCenter": 15.8671875,
        "coordinateSync": false,
        "widthHeightSync": false,
        "fontSize": 12,
        "textAlign": "right",
        "textContentVerticalAlign": "middle",
        "qrCodeLevel": 0
      },
      "printElementType": {
        "title": "这是更新后的元素",
        "type": "text"
      }
    }, {
      "options": {
        "left": 7.5,
        "top": 10,
        "height": 263,
        "width": 9,
        "right": 15,
        "bottom": 265.74609375,
        "vCenter": 10.5,
        "hCenter": 136.74609375,
        "coordinateSync": false,
        "widthHeightSync": false
      },
      "printElementType": {
        "title": "竖线",
        "type": "vline"
      }
    }, {
      "options": {
        "left": 247.5,
        "top": 10,
        "height": 263,
        "width": 9,
        "right": 253.5,
        "bottom": 267.24609375,
        "vCenter": 249,
        "hCenter": 138.24609375,
        "coordinateSync": false,
        "widthHeightSync": false
      },
      "printElementType": {
        "title": "竖线",
        "type": "vline"
      }
    }, {
      "options": {
        "left": 7.5,
        "top": 10,
        "height": 9,
        "width": 240,
        "borderWidth": 0.75,
        "right": 94.9921875,
        "bottom": 16.5,
        "vCenter": 49.9921875,
        "hCenter": 12
      },
      "printElementType": {
        "title": "横线",
        "type": "hline"
      }
    }, {
      "options": {
        "left": 10,
        "top": 11,
        "height": 15,
        "width": 120,
        "title": "Material & FDF-26",
        "right": 128.7421875,
        "bottom": 20.7421875,
        "vCenter": 68.7421875,
        "hCenter": 15.8671875,
        "coordinateSync": false,
        "widthHeightSync": false,
        "fontSize": 12,
        "textAlign": "left",
        "textContentVerticalAlign": "middle",
        "qrCodeLevel": 0
      },
      "printElementType": {
        "title": "这是更新后的元素",
        "type": "text"
      }
    }, {
      "options": {
        "left": 7.5,
        "top": 25,
        "height": 19.5,
        "width": 240,
        "title": "产品标签",
        "right": 244.9921875,
        "bottom": 42,
        "vCenter": 124.9921875,
        "hCenter": 32.25,
        "coordinateSync": false,
        "widthHeightSync": false,
        "fontSize": 12.75,
        "fontWeight": "600",
        "textAlign": "center",
        "textContentVerticalAlign": "middle",
        "qrCodeLevel": 0
      },
      "printElementType": {
        "title": "这是更新后的元素",
        "type": "text"
      }
    }, {
      "options": {
        "left": 7.5,
        "top": 45,
        "height": 9,
        "width": 240,
        "borderWidth": 0.75
      },
      "printElementType": {
        "title": "横线",
        "type": "hline"
      }
    }, {
      "options": {
        "left": 12.5,
        "top": 52,
        "height": 9,
        "width": 9,
        "coordinateSync": false,
        "widthHeightSync": false,
      },
      "printElementType": {
        "title": "矩形",
        "type": "rect"
      }
    }, {
      "options": {
        "left": 77.5,
        "top": 50,
        "height": 10,
        "width": 10,
        "right": 108.25,
        "bottom": 61.24609375,
        "vCenter": 103.25,
        "hCenter": 56.24609375,
        "coordinateSync": false,
        "widthHeightSync": false,
        "fit": "",
        "src": "https://img1.baidu.com/it/u=2464339725,1217283908&fm=253&fmt=auto&app=138&f=JPEG?w=539&h=500"
      },
      "printElementType": {
        "title": "图片",
        "type": "image"
      }
    }, {
      "options": {
        "left": 27.5,
        "top": 52.5,
        "height": 9.75,
        "width": 51,
        "title": "中间产品",
        "right": 150,
        "bottom": 63.75,
        "vCenter": 90,
        "hCenter": 58.875,
        "coordinateSync": false,
        "widthHeightSync": false,
        "qrCodeLevel": 0
      },
      "printElementType": {
        "title": "这是更新后的元素",
        "type": "text"
      }
    }, {
      "options": {
        "left": 90,
        "top": 52.5,
        "height": 9.75,
        "width": 120,
        "title": "非商业化产品",
        "coordinateSync": false,
        "widthHeightSync": false,
        "qrCodeLevel": 0
      },
      "printElementType": {
        "title": "这是更新后的元素",
        "type": "text"
      }
    }, {
      "options": {
        "left": 7.5,
        "top": 67.5,
        "height": 9,
        "width": 240,
        "borderWidth": 0.75,
        "right": 101.49609375,
        "bottom": 75.75,
        "vCenter": 56.49609375,
        "hCenter": 71.25
      },
      "printElementType": {
        "title": "横线",
        "type": "hline"
      }
    }, {
      "options": {
        "left": 65,
        "top": 68,
        "height": 129,
        "width": 9,
        "right": 73.9921875,
        "bottom": 186,
        "vCenter": 69.4921875,
        "hCenter": 122.25,
        "coordinateSync": false,
        "widthHeightSync": false
      },
      "printElementType": {
        "title": "竖线",
        "type": "vline"
      }
    }, {
      "options": {
        "left": 10,
        "top": 75,
        "height": 9.75,
        "width": 57,
        "title": "产品名称：",
        "right": 82.5,
        "bottom": 57.24609375,
        "vCenter": 45,
        "hCenter": 52.37109375,
        "coordinateSync": false,
        "widthHeightSync": false,
        "qrCodeLevel": 0
      },
      "printElementType": {
        "title": "",
        "type": "text"
      }
    }, {
      "options": {
        "left": 67.5,
        "top": 75,
        "height": 9.75,
        "width": 177,
        "title": "",
        "coordinateSync": false,
        "widthHeightSync": false,
        "qrCodeLevel": 0,
        "right": 235.25,
        "bottom": 57.24609375,
        "vCenter": 150.25,
        "hCenter": 52.37109375,
        "fields": [{
          "text": "产品代码",
          "field": "graphid"
        }, {
          "text": "产品名称",
          "field": "skuName"
        }, {
          "text": "产品批号",
          "field": "vbatchCode"
        }, {
          "text": "有效期",
          "field": "expirationDate"
        }, {
          "text": "容器号",
          "field": "sortNum"
        }],
        "field": "skuName",
      },
      "printElementType": {
        "title": "",
        "type": "text"
      }
    }, {
      "options": {
        "left": 7.5,
        "top": 90,
        "height": 9,
        "width": 240,
        "borderWidth": 0.75,
        "right": 94.2421875,
        "bottom": 81.4921875,
        "vCenter": 49.2421875,
        "hCenter": 76.9921875
      },
      "printElementType": {
        "title": "横线",
        "type": "hline"
      }
    }, {
      "options": {
        "left": 10,
        "top": 95,
        "height": 9.75,
        "width": 57,
        "title": "产品代码：",
        "right": 66.99609375,
        "bottom": 78.99609375,
        "vCenter": 38.49609375,
        "hCenter": 74.12109375,
        "coordinateSync": false,
        "widthHeightSync": false,
        "qrCodeLevel": 0
      },
      "printElementType": {
        "title": "",
        "type": "text"
      }
    }, {
      "options": {
        "left": 67.5,
        "top": 95,
        "height": 9.75,
        "width": 177,
        "title": "",
        "coordinateSync": false,
        "widthHeightSync": false,
        "qrCodeLevel": 0,
        "right": 241.5,
        "bottom": 79.9921875,
        "vCenter": 153,
        "hCenter": 75.1171875,
        "fields": [{
          "text": "产品代码",
          "field": "graphid"
        }, {
          "text": "产品名称",
          "field": "skuName"
        }, {
          "text": "产品批号",
          "field": "vbatchCode"
        }, {
          "text": "有效期",
          "field": "expirationDate"
        }, {
          "text": "容器号",
          "field": "sortNum"
        }],
        "field": "graphid",
      },
      "printElementType": {
        "title": "",
        "type": "text"
      }
    }, {
      "options": {
        "left": 7.5,
        "top": 110,
        "height": 9,
        "width": 240,
        "borderWidth": 0.75
      },
      "printElementType": {
        "title": "横线",
        "type": "hline"
      }
    }, {
      "options": {
        "left": 10,
        "top": 115,
        "height": 9.75,
        "width": 57,
        "title": "产品批号：",
        "right": 66.99609375,
        "bottom": 78.99609375,
        "vCenter": 38.49609375,
        "hCenter": 74.12109375,
        "coordinateSync": false,
        "widthHeightSync": false,
        "qrCodeLevel": 0
      },
      "printElementType": {
        "title": "",
        "type": "text"
      }
    }, {
      "options": {
        "left": 67.5,
        "top": 115,
        "height": 9.75,
        "width": 177,
        "title": "",
        "coordinateSync": false,
        "widthHeightSync": false,
        "qrCodeLevel": 0,
        "right": 243.99609375,
        "bottom": 99.75,
        "vCenter": 155.49609375,
        "hCenter": 94.875,
        "fields": [{
          "text": "产品代码",
          "field": "graphid"
        }, {
          "text": "产品名称",
          "field": "skuName"
        }, {
          "text": "产品批号",
          "field": "vbatchCode"
        }, {
          "text": "有效期",
          "field": "expirationDate"
        }, {
          "text": "容器号",
          "field": "sortNum"
        }],
        "field": "vbatchCode",
      },
      "printElementType": {
        "title": "",
        "type": "text"
      }
    },
    {
      "options": {
        "left": 7.5,
        "top": 130,
        "height": 9,
        "width": 240,
        "borderWidth": 0.75
      },
      "printElementType": {
        "title": "横线",
        "type": "hline"
      }
    },
    // {
    //   "options": {
    //     "left": 10,
    //     "top": 137.5,
    //     "height": 9.75,
    //     "width": 57,
    //     "title": "有效期至：",
    //     "right": 67.9921875,
    //     "bottom": 122.49609375,
    //     "vCenter": 39.4921875,
    //     "hCenter": 117.62109375,
    //     "coordinateSync": false,
    //     "widthHeightSync": false,
    //     "qrCodeLevel": 0
    //   },
    //   "printElementType": {
    //     "title": "",
    //     "type": "text"
    //   }
    // }, {
    //   "options": {
    //     "left": 67.5,
    //     "top": 137.5,
    //     "height": 9.75,
    //     "width": 177,
    //     "title": "",
    //     "coordinateSync": false,
    //     "widthHeightSync": false,
    //     "qrCodeLevel": 0,
    //     "right": 239.49609375,
    //     "bottom": 119.49609375,
    //     "vCenter": 150.99609375,
    //     "hCenter": 114.62109375,
    //     "fields": [{
    //       "text": "产品代码",
    //       "field": "graphid"
    //     }, {
    //       "text": "产品名称",
    //       "field": "skuName"
    //     }, {
    //       "text": "产品批号",
    //       "field": "vbatchCode"
    //     }, {
    //       "text": "有效期",
    //       "field": "expirationDate"
    //     }, {
    //       "text": "容器号",
    //       "field": "sortNum"
    //     }],
    //     "field": "expirationDate",
    //   },
    //   "printElementType": {
    //     "title": "",
    //     "type": "text"
    //   }
    // }, {
    //   "options": {
    //     "left": 7.5,
    //     "top": 152.5,
    //     "height": 9,
    //     "width": 240,
    //     "borderWidth": 0.75,
    //     "right": 94.9921875,
    //     "bottom": 131.49609375,
    //     "vCenter": 49.9921875,
    //     "hCenter": 126.99609375
    //   },
    //   "printElementType": {
    //     "title": "横线",
    //     "type": "hline"
    //   }
    // },
    {
      "options": {
        "left": 10,
        "top": 160,
        "height": 9.75,
        "width": 57,
        "title": "备注：",
        "right": 66.4921875,
        "bottom": 145.74609375,
        "vCenter": 37.9921875,
        "hCenter": 140.87109375,
        "coordinateSync": false,
        "widthHeightSync": false,
        "qrCodeLevel": 0
      },
      "printElementType": {
        "title": "",
        "type": "text"
      }
    }, {
      "options": {
        "left": 67.5,
        "top": 160,
        "height": 9.75,
        "width": 177,
        "title": "", //备注
        "coordinateSync": false,
        "widthHeightSync": false,
        "qrCodeLevel": 0,
        "right": 240.99609375,
        "bottom": 144.24609375,
        "vCenter": 152.49609375,
        "hCenter": 139.37109375
      },
      "printElementType": {
        "title": "",
        "type": "text"
      }
    }, {
      "options": {
        "left": 7.5,
        "top": 175,
        "height": 9,
        "width": 240,
        "borderWidth": 0.75,
        "right": 94.9921875,
        "bottom": 151.5,
        "vCenter": 49.9921875,
        "hCenter": 147
      },
      "printElementType": {
        "title": "横线",
        "type": "hline"
      }
    }, {
      "options": {
        "left": 10,
        "top": 180,
        "height": 9.75,
        "width": 57,
        "title": "容器号：",
        "right": 66.4921875,
        "bottom": 145.74609375,
        "vCenter": 37.9921875,
        "hCenter": 140.87109375,
        "coordinateSync": false,
        "widthHeightSync": false,
        "qrCodeLevel": 0
      },
      "printElementType": {
        "title": "",
        "type": "text"
      }
    }, {
      "options": {
        "left": 67.5,
        "top": 180,
        "height": 9.75,
        "width": 177,
        "title": "",
        "coordinateSync": false,
        "widthHeightSync": false,
        "qrCodeLevel": 0,
        "right": 243.24609375,
        "bottom": 164.49609375,
        "vCenter": 154.74609375,
        "hCenter": 159.62109375,
        "fields": [{
          "text": "产品代码",
          "field": "graphid"
        }, {
          "text": "产品名称",
          "field": "skuName"
        }, {
          "text": "产品批号",
          "field": "vbatchCode"
        }, {
          "text": "有效期",
          "field": "expirationDate"
        }, {
          "text": "容器号",
          "field": "sortNum"
        }],
        "field": "sortNum",
      },
      "printElementType": {
        "title": "",
        "type": "text"
      }
    }, {
      "options": {
        "left": 7.5,
        "top": 197.5,
        "height": 9,
        "width": 240,
        "borderWidth": 0.75,
        "right": 94.9921875,
        "bottom": 181.5,
        "vCenter": 49.9921875,
        "hCenter": 177
      },
      "printElementType": {
        "title": "横线",
        "type": "hline"
      }
    }, {
      "options": {
        "left": 15,
        "top": 202.5,
        "height": 45,
        "width": 45,
        "fit": "",
        "coordinateSync": false,
        "widthHeightSync": false,
        "right": 58.2421875,
        "bottom": 244.9921875,
        "vCenter": 35.7421875,
        "hCenter": 222.4921875,
        "field": "qrcode"
      },
      "printElementType": {
        "title": "图片",
        "type": "image"
      }
    }, {
      "options": {
        "left": 67.5,
        "top": 205,
        "height": 9.75,
        "width": 171,
        "title": "(ID)",
        "right": 189.99609375,
        "bottom": 216.99609375,
        "vCenter": 129.99609375,
        "hCenter": 212.12109375,
        "coordinateSync": false,
        "widthHeightSync": false,
        "qrCodeLevel": 0,
        "field": "pkMaterial",
      },
      "printElementType": {
        "title": "",
        "type": "text"
      }
    }, {
      "options": {
        "left": 67.5,
        "top": 217.5,
        "height": 9.75,
        "width": 171,
        "title": "",
        "right": 189.99609375,
        "bottom": 216.99609375,
        "vCenter": 129.99609375,
        "hCenter": 212.12109375,
        "coordinateSync": false,
        "widthHeightSync": false,
        "qrCodeLevel": 0,
        "field": "skuBarId",
        formatter: (value, options, target, templateData) => {
          return options ? `(SN): ${options}` : ''; // 字段非空时显示标题，否则隐藏
        }
      },
      "printElementType": {
        "title": "",
        "type": "text"
      }
    }, {
      "options": {
        "left": 67.5,
        "top": 230,
        "height": 9.75,
        "width": 171,
        "title": "",
        "right": 189.99609375,
        "bottom": 216.99609375,
        "vCenter": 129.99609375,
        "hCenter": 212.12109375,
        "coordinateSync": false,
        "widthHeightSync": false,
        "qrCodeLevel": 0,
        "field": "vbatchCode",
        formatter: (value, options, target, templateData) => {
          return options ? `(BN): ${options}` : ''; // 字段非空时显示标题，否则隐藏
        }
      },
      "printElementType": {
        "title": "",
        "type": "text"
      }
    }, {
      "options": {
        "left": 7.5,
        "top": 250,
        "height": 9,
        "width": 240,
        "borderWidth": 0.75
      },
      "printElementType": {
        "title": "横线",
        "type": "hline"
      }
    }, {
      "options": {
        "left": 22.5,
        "top": 253,
        "height": 15,
        "width": 223.5,
        "title": "已领用为零件",
        "right": 241.9921875,
        "bottom": 261.4921875,
        "vCenter": 130.2421875,
        "hCenter": 253.9921875,
        "coordinateSync": false,
        "widthHeightSync": false,
        "fontSize": 12,
        "textAlign": "center",
        "textContentVerticalAlign": "middle",
        "qrCodeLevel": 0
      },
      "printElementType": {
        "title": "",
        "type": "text"
      }
    }, {
      "options": {
        "left": 85,
        "top": 256,
        "coordinateSync": false,
        "widthHeightSync": false,
        "right": 70.5,
        "bottom": 266.25,
        "vCenter": 63,
        "hCenter": 258.75,
        "field": "def2",
        formatter: function(title, value, options, templateData, target) {
          if (value == '0' && templateData?.gubflag == '0') {
            return '✅';
          }
          return '<div style="width: 13px; height: 13px;border:1px solid black"></div>';
        }
      },
      "printElementType": {
        "title": "",
        "type": "text"
      }
    }, {
      "options": {
        "left": 7.5,
        "top": 272.5,
        "height": 9,
        "width": 240,
        "borderWidth": 0.75,
        "right": 94.9921875,
        "bottom": 276,
        "vCenter": 49.9921875,
        "hCenter": 271.5
      },
      "printElementType": {
        "title": "横线",
        "type": "hline"
      }
    }],
    "paperNumberLeft": 225,
    "paperNumberTop": 261,
    "paperNumberContinue": true,
    "paperNumberDisabled": true,
    "watermarkOptions": {},
    "panelLayoutOptions": {}
  }]
}
